package com.hospital.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author WuLiting
 * @since 2021-03-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_health_info")
public class HealthInfo extends PageParam implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 健康信息ID
     */
    @TableId(value = "info_id", type = IdType.ID_WORKER_STR)
    private String infoId;

    /**
     * 病人ID
     */
    private String userId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createUser;

    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String sex;
    @TableField(exist = false)
    private String age;

    @TableField(exist = false)
    private List<Map> itemList;
}
